Package-level declarations

Types

Link copied to clipboard
typealias ResultId = String

The id allowing to identify the results in the ResultStorage

Link copied to clipboard
interface ResultRepository<T>

Provides access to the scanning result of the given type by ResultId The current implementation of the repository keeps the result only in RAM and does not store anything on the persistent storage It is important to persist the data manually if it is needed to be used after the restart of the process of the application Be careful when processing the intent with ResultId in onCreate method of the Activity as it may be recreated after the termination of the process

Link copied to clipboard
interface ResultStorage<T>

Stores and provides access to the scanning result of the given type by ResultId

Link copied to clipboard
data class ResultWrapper<T>(val resultId: ResultId, val clazz: Class<T>) : Parcelable

Result wrapper which points to the specific result in one of ResultRepository based on clazz